export default function (time) {
  // 传入秒数
  const minute = Math.floor(time / 60);
  const second = time % 60;
  if (minute) {
    if (second) {
      return minute + "分" + second + "秒";
    } else {
      return minute + "分";
    }
  } else {
    return second + "秒";
  }
}